
#  TODO: 使用本地libbson (原始编译锁定了版本，后续慢慢分析或者调整) -DNEED_DOWNLOAD_C_DRIVER=false -DCMAKE_PREFIX_PATH="../../../prebuild/mongo-c-driver/win/lib/cmake/bson-1.0"
cmake -S ../ -B ./build_mac -DCMAKE_BUILD_TYPE=Release  -DCMAKE_INSTALL_PREFIX="../../../prebuild/mongo-cxx-driver/mac"
cmake --build ./build_mac
cmake --build ./build_mac --target install --parallel